package org.example.test;

public class Main2 {

    /**
     * 基本数据类型数组测试
     * @param args
     */
    public static void main(String[] args) {
        DebugObj debugObj = new DebugObj();

        byte[] byte_arr = new byte[10];
        byte_arr[0] = 11;
        debugObj.println(byte_arr[0]);

        short[] short_arr = new short[999];
        short_arr[0] = 189;
        debugObj.println(short_arr[0]);

        int[] int_arr = new int[10];
        int_arr[0] = 189;
        debugObj.println(int_arr[0]);


        long[] long_arr = new long[10];
        long_arr[0] = 1899;
        debugObj.println(long_arr[0]);

        float[] farr = new float[10];
        farr[0] = 1.2f;
        debugObj.println(farr[0]);


        double[] double_arr = new double[10];
        double_arr[0] = 1.2f;
        debugObj.println(double_arr[0]);

        char[] char_arr = new char[10];
        char_arr[0] = '测';
        debugObj.println(char_arr[0]);
    }
}

